﻿<Window x:Class="MindTree.PerfWorkbench.Azure.Monitor.ConfigureMonCounters"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="ConfigureMonCounters" Height="382" Width="377">
    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition Width="352*" />
            <ColumnDefinition Width="3*" />
        </Grid.ColumnDefinitions>
        <Border x:Name="MenuBorder" CornerRadius="4" Background="SteelBlue" Margin="6,3,0,314" Height="26" HorizontalAlignment="Left" Width="114">
            <ToolBar Height="24" Name="AzureMonToolBar"  Margin="6,0.5,5,0" Width="97">
                <Button Height="20" Width="35">
                    <Image Source="icons\Import.jpg" Name="imgImport" Height="15" Width="22" ToolTip="Import Counters from a CSV file" MouseDown="imgImport_MouseDown"/>
                </Button>
                <Button Height="20" Width="35" >
                    <Image Source="icons\Export.jpg" Name="imgExport" Height="15" Width="22" ToolTip="Export Counters to a CSV file" MouseDown="imgExport_MouseDown"/>
                </Button>
            </ToolBar>
        </Border>
        <GroupBox Header="Add Counter" Height="49" HorizontalAlignment="Left" Margin="5,216,0,0" Name="grpBoxAddCounter" VerticalAlignment="Top" Width="347">
            <Grid>
                <TextBox Height="23" HorizontalAlignment="Left" Margin="6,4,0,0" Name="txtBoxCounterAdd" VerticalAlignment="Top" Width="259" />
                <Button Content="Add" Height="23" HorizontalAlignment="Right" Margin="0,4,10,0" Name="btnAddCounter" VerticalAlignment="Top" Width="54" Click="btnAddCounter_Click" />
            </Grid>
        </GroupBox>
        <GroupBox Header="SelectedCounters" Height="152" HorizontalAlignment="Left" Margin="6,41,0,0" Name="grpBoxSelectedCntrs" VerticalAlignment="Top" Width="311">
            <Grid Width="298">
                <ListBox Height="129" HorizontalAlignment="Left" Margin="3,2,0,0" Name="lstBoxSelectedCounters" VerticalAlignment="Top" Width="290" SelectionMode="Multiple" ScrollViewer.HorizontalScrollBarVisibility="Auto" ScrollViewer.VerticalScrollBarVisibility="Auto"/>
            </Grid>
        </GroupBox>
        <Button Content="Save" Height="23" HorizontalAlignment="Left" Margin="105,314,0,0" Name="btnSave" VerticalAlignment="Top" Width="75" Click="btnSave_Click"/>
        <Button Content="Cancel" Height="23" HorizontalAlignment="Left" Margin="190,314,0,0" Name="btnCancel" VerticalAlignment="Top" Width="75" Click="btnCancel_Click" />
        <Button Height="36" Width="36" Grid.ColumnSpan="2" Margin="320,79,-1,228" >
            <Image Source="icons\delete_green.jpg"  HorizontalAlignment="Left"  Name="imgRemoveSelected" Stretch="Fill" VerticalAlignment="Top"  Tag="Remove Selected Counters" Grid.ColumnSpan="2" MouseDown="imgRemoveSelected_MouseDown"/> 
         </Button>
        <Button Height="36" Width="36" Grid.ColumnSpan="2" Margin="319,121,0,186" >
        <Image  HorizontalAlignment="Left" Name="imgClear" Stretch="Fill" VerticalAlignment="Top" Source="icons\deleteAll_green.jpg" Tag="Clear counters" Grid.ColumnSpan="2" MouseDown="imgClear_MouseDown"/>    
        </Button>
        
    </Grid>
</Window>
